DESKIE API
Custom fields
Get a list of all custom fields
GET  |  https://[domain].deskie.io/api/custom_fields.json
Get a list of all custom fields. Affiliation of a custom field (to a case or to a user) is specified within the "field_level" parameter.
Response
{
    "0" : {
      "custom_field" : {
        "field_id" : 5,
        "title" : "Field title 1",
        "field_type" : "text",
        "field_level" : "user",
        "active" : true,
        "field_data" : ""
      }
    },
    "1" : {
      "custom_field" : {
        "field_id" : 6,
        "title" : "Field title 2",
        "field_type" : "textarea",
        "field_level" : "case",
        "active" : true,
        "field_data" : ""
      }
    },
    "2" : {
      "custom_field" : {
        "field_id" : 7,
        "title" : "Field title 3",
        "field_type" : "checkbox",
        "field_level" : "user",
        "active" : true,
        "field_data" : ""
      }
    },
    "3" : {
      "custom_field" : {
        "field_id" : 9,
        "title" : "Field title 4",
        "field_type" : "select",
        "field_level" : "case",
        "active" : true,
        "field_data" : {
            "1" : "First choice",
            "2" : "Second choice",
            "3" : "Third choice"
        }
      }
    },
    "4" : {
      "custom_field" : {
        "field_id" : 9,
        "title" : "Field title 5",
        "field_type" : "date",
        "field_level" : "case",
        "active" : true,
        "field_data" : ""
      }
    },
    "total_count":10
}
Sample code
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].deskie.io/api/custom_fields.json